package com.tro.mail.dao.mapper;

import com.tro.mail.dao.entity.MailAnnex;
import com.tro.mail.dao.entity.MailAnnexExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MailAnnexMapper {
    int countByExample(MailAnnexExample example);

    int deleteByExample(MailAnnexExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MailAnnex record);

    int insertSelective(MailAnnex record);

    List<MailAnnex> selectByExample(MailAnnexExample example);

    MailAnnex selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MailAnnex record, @Param("example") MailAnnexExample example);

    int updateByExample(@Param("record") MailAnnex record, @Param("example") MailAnnexExample example);

    int updateByPrimaryKeySelective(MailAnnex record);

    int updateByPrimaryKey(MailAnnex record);
}